package com.feicheng.persistence.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.feicheng.persistence.entity.VoucherType;
import com.feicheng.persistence.mapper.VoucherTypeMapper;
import com.feicheng.persistence.service.IVoucherTypeService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
@Service
public class VoucherTypeServiceImpl extends ServiceImpl<VoucherTypeMapper, VoucherType> implements IVoucherTypeService {

    @Override
    public Page<VoucherType> getVoucherTypesByPage(Page<VoucherType> voucherTypePage, QueryWrapper<VoucherType> queryWrapper) {
        return this.getBaseMapper().getVoucherType(voucherTypePage,queryWrapper);
    }
}
